home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-01-25 | 423 b | 22 lines |
-
- SOURCES = \
- userds0_def.c userds1_def.c userds2_def.c
-
- HEADERS = ${KAOSHOME}/modellib/class_kaos_def.h ${KAOSHOME}/modellib/class_kaos_model.h ${KAOSHOME}/modellib/model.h
-
- MATHLIBS = -lm
- CFLAGS = -sun4 -O
- LIBRARY = userlib.a
-
-
- ${LIBRARY}: ${LIBRARY}{${SOURCES:.c=.o}} ${HEADERS}
- ar rv $@ $?
- ranlib $@
-
- lib.a(%.o): %.o
-
- ${SOURCES:.c=.o}: ${HEADERS}
- cc -c $*.c -I${KAOSHOME}/modellib ${CFLAGS} ${MATHLIBS}
-
- ${HEADERS}:
-